package edu.spec.wyn.week04.class1;

public class Fish {
    private String name;

    public Fish(String name){
        this.name = "鱼";
    }
    public String getName(){
        return name;
    }
    public void eat(Sheel s){

    }
    public void eat(Sheel s1, Sheel s2){

    }
    public void eat(Prawn p){

    }
    public void eat(Sheel s, Prawn p){
        System.out.println("我是" + this.name + ", 我先吃" + s.getName() + ", 后吃" + p.getName());
    }
    public void eat(Prawn p, Sheel s){

    }
}
